home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Games
/
PC-SIG World of Games (CDRM1080710) (1993).iso
/
1063
/
HARD.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-01-08
|
1KB
|
46 lines
echo off
cls
for %%a in (a:,A:,b:,B:) do if %%a == %1 goto test2
goto errorfound
:test2
for %%b in (c:,C:,d:,D:,e:,E:,f:,F:) do if %%b == %2 goto run
goto errorfound
:run
echo. Installation of Software Mines Fantasy Role Playing Utilities
echo. from floppy disk drive: %1
echo. to your hard disk drive: %2
echo. is about to start (press Ctrl-C to abort).
echo.
echo. These files will be installed under a directory named FRP.
echo.
pause
%2
cd\
md frp
cd\frp
copy %1pkxarc.com %2
copy %1frp*.arc %2
pkxarc -x frp*.arc *.*
del pkxarc.com
del frp*.arc
cls
echo. Installation complete!
echo.
echo.
echo. You now can access the program documentation in %2/FRP/FRP.DOC
echo. This file can be printed, or viewed with most ASCII text editors.
echo.
goto end
:errorfound
echo. Check your input ERROR found!!!!!!!!!!!
echo.
echo. HARD.BAT requires the following format:
echo.
echo. HARD [This Floppy Disk] [Hard Disk]
echo.
echo. Example: HARD A: C:
echo.
echo on
:end